<%-- 
    Document   : addGeographicalZoneStepOne
    Created on : 19 Nov, 2012, 2:03:56 PM
    Author     : sagar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="../common/script.jsp" %>
<script>
    var rules=new Array();
    rules[0]='city.cityId|required|please select city'; 
</script>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
    </head>
    <body onLoad="yav.init('form1',rules,'inline');">
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02" >
            <%@include file="../common/message.jsp" %>
            <form:form id="form1" name="form1" modelAttribute="geoZone"  method="POST">
                <fieldset>
                    <legend>Add Geographical Zone</legend>
                    <table class="formTable">
                        <tr>
                            <td>City:<br/><form:select path="city.cityId" style="margin-bottom: 5px">
                                    <form:option value="" label="-"></form:option>
                                    <form:options itemLabel="cityName" itemValue="cityId" items="${cityList}"></form:options>
                                </form:select>
                                <br/><span id="errorsDiv_city.cityId"></span></td>
                        </tr>
                        <tr>
                            <td><input type="submit" name="_cancel" value="Cancel"/></td>                       
                            <td>&nbsp;</td>
                            <td><input type="submit" name="_stepTwo" class="userInputFormSubmit" value="<spring:message code="button.Go"/>" onclick="return yav.performCheck('form1', rules, 'inline');"/></td>
                        </tr>
                    </table>               
                </fieldset>
            </form:form>
        </div>
    </body>
</html>
